The SetMovieDrawingCompleteProc function allows you to assign a drawing-complete function to a movie. The Movie Toolbox calls this function based upon guidelines you establish when you assign the function to the movie.
pascal void SetMovieDrawingCompleteProc (Movie theMovie, long flags,
MovieDrawingCompleteUPP proc, long refCon);
Your drawing-complete function must support the following interface:
typedef pascal OSErr (*MovieDrawingCompleteProcPtr)(Movie theMovie, long refCon);
Important
Some media handlers may take less efficient playback paths when a drawing-complete function is used, so it should be used only when absolutely necessary.
If a movie with semi-transparent tracks has a movie uncover procedure (set with the SetMovieCoverProcs function), the uncover procedure is now called before each frame to fill or erase the background. Before QuickTime 1.6.1, the Movie Toolbox performed the erase, which limited a cover procedure-aware application's options.
The GetMovieCoverProcs function allows you to retrieve the cover functions that you set with the SetMovieCoverProcs function.
pascal OSErr GetMovieCoverProcs(
Movie theMovie,
MovieRgnCoverUPP *uncoverProc,
MovieRgnCoverUPP *coverProc,
long *refcon)
| Previous | Chapter Contents | Chapter Top | Next |